package sz.com.postoffice.jxyzwgcase.service;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import sz.com.postoffice.jxyzwgcase.pojo.OperationTargetReturn;
import sz.com.postoffice.jxyzwgcase.pojo.OperationtargetInfo;
import sz.com.postoffice.jxyzwgcase.pojo.StatParam;

import java.util.List;

/**
 * 描述:
 *
 * @author baiyu, du
 * @date 2020/12/15 9:22
 */
public interface OperationTargetService {
    List<OperationTargetReturn> getOperationTargetByCity(StatParam statParam);

    /**
     * 导出运营数据excel 报表，type：usageDetails=app使用情况，cities2=运营报表
     * @param statParam
     * @param type
     * @return
     */
    XSSFWorkbook getOperationTargetExportExcel(StatParam statParam,String type);

    void collectDataFromADO(String[] dates);

    List<OperationtargetInfo> usageDetails(StatParam statParam);
}
